# -*- Makefile -*-

CFLAGS := @CFLAGS@
CXXFLAGS := @CXXFLAGS@ -O2
LDFLAGS := @LDFLAGS@ -lstdc++

# use the darmin test as a proxy for detecting Mac OS X
ifneq ($(shell uname -s), Darwin)
  CFLAGS += -static
endif

CXXFLAGS += -Wall -DEXT_HASH_MAP -fno-omit-frame-pointer

LEX := flex
YACC := bison -d -y --debug -v
RANLIB := ranlib
